<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp" %>
<!DOCTYPE HTML>
<html ng-app>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
    <title>${title}</title>
    <%@ include file="/WEB-INF/jsp/commons/meta.jsp" %>
    <link href="${ctx}/resources/new/style.css" type="text/css" rel="stylesheet"/>
    <style>
        body, html {
            height: 100%;
            width: 100%;
            padding: 0;
        }
    </style>
</head>
<body style="display: none;">
<%@ include file="/WEB-INF/jsp/commons/header.jsp" %>
<div id="wrap">

    <div class="container" id="content" style="text-align: center;">
        <div style="margin: auto;">
            <table class="nav-bar-table">
                <tr>
                    <c:forEach items="${groupMap}" var="group" varStatus="index">
                    <td style="width: 22%;">
                        <a href="${ctx}/content/${group.value.id}.html">${group.value.name}</a>
                    </td>
                    <c:if test="${index.count % 4 == 0}">
                </tr>
                <tr>
                    </c:if>
                    </c:forEach>
                </tr>
            </table>
        </div>

    </div>
</div>

<%@ include file="/WEB-INF/jsp/commons/footer.jsp" %>
<script type="text/javascript">
    $(function () {
        if (top != window && $(top.document).find("#logoImg")) {
            top.location.reload();
        } else {
            $("body").show();
        }
    });
</script>
</body>
</html>